home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
-
- WBAssign
-
- Version 1.24
- December 29, 1993
-
-
-
-
-
-
-
-
-
- ## ## ##### ##### ##
- ## ## ## ## ## ##
- ## ## ## ## ## ## #### #### ## ##### ## ###
- ## # ## ##### ####### ## ## ## ## ## ### ##
- ####### ## ## ## ## ### ### ## ## ## ## ##
- ## ## ## ## ## ## ## ## ## ## ## ## ##
- # # ##### ## ## #### #### ## ##### ## ##
- ##
- ####
-
-
-
-
-
-
-
-
-
- Written by El Pedro of LSD
-
- Copyright (c) 1992,3 by El Pedro
- All rights reserved
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- WBAssign V1.21 December 29, 1993
-
-
- 1. Introduction
-
- WBAssign is an Intuition front end designed to simplify the use of Assigns
- for the user. This makes it easy to install programs on a hard drive,
- although you may find other uses.
-
- This program is NOT Public Domain, but Freely distributable. No warranty is
- offered for any damage caused, directly or indirectly, by this program.
-
- 1.1. System requirements
-
- WBAssign requires Workbench 2.04 or higher to function. This program works
- without a hard drive, but it is not very useful. As this program was written
- under Workbench 3.0, it supports (but doesn't require) Workbench 2.1 and 3.0
- features.
-
- 1.2. Why WBAssign?
-
- There are many reasons why you might want to use this program. For example,
- many newcomers to the Amiga often feel uncomfortable with using the CLI to
- set up assigns or with changing the startup-sequence or user-startup.
- WBAssign is designed to appear as part of the Workbench, by just dragging
- icons about.
-
- You may want to use WBAssign to remove some of the clutter from the startup
- files and makes it much easier to update Workbench. Those of you who have
- just upgraded from 2.04 to 2.1/3.0 who have heavily customised systems will
- realise how useful that is.
-
- 1.3. What is an Assign? (Or: Why doesn't my software work?)
-
- You must have tried to install a program to the hard drive by just dragging
- the icons across. How many times have you done so, only to be greeted with
- the following requester?
-
- Please insert volume
- <Program disk's name>
- in any drive
-
- [ Retry ] [ Cancel ]
-
- Retry won't get rid of the message: it just comes back again. At best, Cancel
- will cause the program to give an error message. At worst, the system will
- guru (however if it does, the program has not been written correctly.)
- Alternatively, you could put the original disk back in, and the program will
- then continue to run, but from the floppy instead of the hard disk.
-
- The reason the "Please insert ..." message came up is that the program asked
- for a disk that the Amiga does not have handy, so AmigaDOS asked for a disk
- with that name. However, all you have to do is tell the Amiga that the disk
- is really just a directory on your hard drive, using an assignment.
-
- So, to answer the question, an assignment is a "virtual disk" in that when a
- program asks for a disk, it is pointed to the hard drive. WBAssign just sets
-
-
- - 2 -
- WBAssign V1.21 December 29, 1993
-
-
- up these assignments.
-
- 1.4. Installation
-
- All you have to do to install this program is to drag its icon into the
- WBStartup drawer on your Workbench partition. Now, the program will be run
- every time you reboot. You will probably want to edit WBAssign's tooltypes to
- your own taste. To start it now, for a test drive, then double-click on the
- WBAssign icon. There are no other files to copy, eg to FONTS: and so on.
- WBAssign will only write files to the drive if you select "Save", or "Save
- As...".
-
- 2. Using WBAssign
-
- The simplest, and often the best way to use WBAssign when installing a
- program is as follows:
-
- · First, copy the program to the hard drive by dropping the icon(s) for the
- program disk(s) that you wish to install onto the hard drive, as you would
- usually do.
-
- · Run the program to see if it actually needs an assign. If you get the
- "Please insert ..." requester, then you do. With any luck, the name the
- requester asks for is the name of the disk that you have just copied, which
- is also the name of the drawer created by the copy. If not, then the program
- is using its own special assigns, in which case they will be documented along
- with the program. Do not cancel the requester.
-
- · Open WBAssign's window by pressing the CTRL, ALT, and W keys (or whatever
- you defined the hotkey as) together. This will open the window.
-
- · Drag the program's drawer icon(s), which appeared after you copied the
- disk, and drop it over the WBAssign window. This will tell WBAssign to create
- an assign for you. Do this for each of the disks that the program asks for.
-
- · Click "Retry" on the "Please insert ..." requester. It should now be
- satisfied, and the program should run. Repeat the last few steps for this
- requester.
-
- · Finally, click "Save" to make the assigns, and to save them to disk so that
- they will be remade when you reboot.
-
- 2.1. The control window
-
- WBAssign talks to you through a control window. The control window is an
- AppWindow - this means that you can drop nearly any icon onto the window, and
- an appropriate assign will be created. The device name will be the name that
- Workbench has for the item, and this will be made an Add assign by default.
- Unlike many such editors, WBAssign will attempt to make the assignment as
- soon as you type it in, rather that when you click "Use".
-
- Assigned Devices
-
- This is a list of the device names that you have chosen to assign to, as well
-
-
- - 3 -
- WBAssign V1.21 December 29, 1993
-
-
- as some information about the assign. There is one entry in this list for
- each of the assignments you have defined. An entry looks something like this.
-
- + FOOBAR M *
- (1) (2) (3) (4)
-
- (1) This denotes the type of assign. There is " " (nothing) for a replace
- assign, "+" for an add assign, "P" for a path assign, and "D" for a deferred
- assign.
-
- (2) This is the device name that the assignment is made to.
-
- (3) If there is a "M" here, then there is a directory created for the item.
- (M for Makedir)
-
- (4) If there is a "*" here, then the assignment couldn't be made. Usually
- this is because the disk/directory/file that you assigned to does not exist.
- WBAssign have complained before you see this.
-
- If you click on one of the entries, then more about the assign is shown on
- the right, so you can edit it.
-
- New (Hotkey N)
-
- This creates a new "blank" assignment, so that you can enter all the
- information about an assignment manually.
-
- Del (Hotkey L)
-
- This removes the selected assign.
-
- Assignment Name
-
- This is the device name for the assignment. AmigaDOS does not allow an empty
- assignment name, so no assignment will be made if this is empty. It is
- possible, however to have a space here, which could prove confusing...
-
- Replace (Hotkey R)
-
- This changes the type of the current assign into a replacing assign. This is
- the normal kind of assign, and is the only one that was in Kickstart 1.3.
- Such an assign will cancel all previous assigns to the same device name. This
- kind of assign is the one usually used for setting up software on the hard
- disk.
-
- Add (Hotkey A)
-
- This changes the type of the current assign into an adding, or multiple
- assign. A multiple assign will allow an assignment name to refer to many
- paths. This kind of assign may be useful for adding font disks to the system,
- where you do not want to lose the fonts already present.
-
- You should be warned that many, if not most programs (which unfortunately
- include all the programs on the Workbench 2.x/3.0 disks) do not understand
-
-
- - 4 -
- WBAssign V1.21 December 29, 1993
-
-
- multiple assignments properly, and can appear to 'lose' files which are in
- added paths. The only way to find out if a program supports multiple assigns
- is to test it.
-
- When you create a new assignment, either by clicking on the New gadget, or
- dropping an icon onto the WBAssign window, it will be made into an Add
- assignment by default, even though there may not be another assignment to add
- to. This is to avoid overriding another assignment (which is what the other
- types do,) unless you really mean it.
-
- Although AmigaDOS doesn't support adding to a non existent assignment,
- WBAssign does, and when the assignment is actually made, it will create a
- Replace assign instead. You may still wish to set the assign type to Replace
- for completeness, or to fix some obscure problems.
-
- Defer (Hotkey D)
- Path (Hotkey P)
-
- These are more complex assignment types, and should be avoided by the
- beginner. These are rarely used, even by experts, and were added by Commodore
- for a few special cases.
-
- A deferred assignment is one that is worked out when the assignment is
- actually used - so if the assignment is to another disk (eg a floppy, or a
- SyQuest) then you will not be asked to insert the disk until the assignment
- is used. Leaving it as a replace assignment means that WBAssign will ask for
- the disk on startup.
-
- A path assignment is an even more severe case, in which the assignment is
- worked out every time it is used. The standard example is when you are using
- font disks - you assign "FONTS:" to "DF0:FONTS" and it will look on whichever
- disk is in DF0: at the time when you use fonts. When you change the disk, the
- fonts will be used from the new disk.
-
- Make Directory (Hotkey M)
-
- If this gadget is checked/ticked (depending on which side of the Atlantic you
- are on...), then, if the directory which WBAssign was given to assign to does
- not exist (for example, if it is in RAM:,) then WBAssign will create that
- directory, and then point the assignment to that.
-
- Assignment Destination
-
- This is the pathname that the assignment refers to, which you can type
- directly if you need to. When you click on the gadget next to it, you will
- get a file requester, to select a directory or file to assign to. (Didn't
- know you could assign to a file? You know now.)
-
- If you give a relative pathname (one without DF0: or whatever in front of it)
- then it will be relative to wherever you ran WBAssign from (Usually
- SYS:WBStartup.) This is only important if you have WBAssign in two places on
- your hard drive.
-
- Save (Hotkey S)
-
-
- - 5 -
- WBAssign V1.21 December 29, 1993
-
-
-
- This saves the assigns that you have defined to disk so that they can be
- restored next time you boot up, and then closes, leaving the assigns in
- place.
-
- Use (Hotkey U)
-
- This closes the WBAssign window, and leaves the assigns made in place.
-
- Cancel (Hotkey C)
-
- This cancels the changes that you have made since you opened the WBAssign
- window.
-
- 2.2. Menus
-
- Project/Open... (Hotkey Amiga-O)
-
- Allows you to load a different configuration file from the default. This
- cancels all the other assigns made.
-
- Project/Save As... (Hotkey Amiga-A)
-
- Allows you to save to different configuration file from the default of
- "ENVARC:WBAssignList".
-
- Project/About (Hotkey Amiga-?)
-
- This gives some information about WBAssign.
-
- Project/Hide (Hotkey Amiga-H)
-
- This hides the WBAssign window, but leaves WBAssign in memory so it can be
- popped up again with the hotkey. (Same as the Use gadget.)
-
- Project/Quit (Hotkey Amiga-Q)
-
- This quits WBAssign, but still leaves the assigns created by it in place.
-
- Edit/Redo (Hotkey Amiga-R)
-
- This clears all the assignments made by WBAssign, and remakes them, so that
- the assignments are definitely what the list says they are. This may be
- needed if you have edited the assignments a lot, especially with Add
- assignments which often confuse WBAssign, so the assignments may not be what
- WBAssign thinks they are, or if another program has changed the assignments.
- If a program asks for an assignment that you have defined with WBAssign, then
- you should use this to recreate the assign.
-
- Edit/Sort (Hotkey Amiga-T)
-
- This will alphabetically sort the assigns so that the list looks neater, and
- also so that multiple assigns will be grouped together. The sort is case
- insensitive, just like AmigaDOS, so "FONTS:" and "Fonts:" are grouped
-
-
- - 6 -
- WBAssign V1.21 December 29, 1993
-
-
- together.
-
- Edit/Delete All (Hotkey Amiga-D)
-
- This clears all the assigns.
-
- Edit/Last Saved (Hotkey Amiga-L)
-
- This reloads all the assigns that you saved with "Save", cancelling all the
- changes since.
-
- Edit/Restore (Hotkey Amiga-R)
-
- This undoes all the changes since the WBAssign window was opened.
-
- 2.3. Workbench Tooltypes
-
- WBAssign can be run from both CLI and Workbench. Generally it will be run
- from Workbench, in which case, the following will be placed in the WBAssign
- icon's tooltypes (using Info from Workbench). Even if WBAssign is run from
- the CLI, it will still take the tooltypes from the icon. WBAssign will not
- detach from the CLI, so you may wish to Run it.
-
- CX_POPUP (Default YES)
-
- This defines whether WBAssign should pop up its window when it is run. By
- default it does, but if you have it in your WBStartup drawer, you will
- probably want it not to, by changing it to CX_POPUP=NO.
-
- CX_PRIORITY (Default 0)
-
- This sets the priority of the hotkey, in relation to all of the other hotkeys
- you have in your system.
-
- CX_POPKEY (Default control alt w)
-
- This sets the hotkey that you use to pop up the window if it is closed. You
- can change this if it clashes with any other hotkey, or if you don't like it.
-
- 3. Final words
-
- If you need to contact me, to report bugs, offer suggestions for updates, or
- for any other reason, then contact me. Currently, I can only be contacted by
- paper mail - please don't use any email address you have for me, they are no
- longer valid (but watch this space.) The address is:
-
- Peter Corlett,
- 7 Melbourne Court
- Melbourne Street
- YORK
-
-
-
-
-
-
- - 7 -
-